package pl.ydp.components.mathcell.mathrecognizer.geometry
{
	public class VectorSense
	{
		public function vectorSenseFromAngle(angle:Number):Number{
			
			var ID:Number;
			var angle2:Number = angle + 360/16;
			
			if (angle2 > 360){
				angle2 -= 360;
			}
			
			if (angle2 < 180){
				ID = 1;	
			} else {
				ID = -1;
			}
			
			return ID;
			
		}
			
		public var ID:Number;
		
		public static const POSITIVE:Number = 1;
		public static const NEGATIVE:Number = -1;

	}
}